package com.bayvakoof.dewall.geom
{
	import flash.geom.Point;

	public class CompositeCurve
	{
		public var beziers:Vector.<BezierCurve> = new Vector.<BezierCurve>();
		
		public function CompositeCurve()
		{
		}
		
		public function getPolygon():Vector.<Point>
		{
			var poly:Vector.<Point> = new Vector.<Point>();
			for each(var bc:BezierCurve in beziers)
			{
				poly.push(new Point(bc.sx, bc.sy));
			}
			return poly;
		}
	}
}